package com.wf.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 充值表
 * @TableName recharges
 */
@TableName(value ="recharges")
@Data
public class Recharges implements Serializable {

    private static final long serialVersionUID = 602695901144176962L;
    /**
     * 充值ID，主键
     */
    @TableId(type = IdType.AUTO)
    private Integer rechargeId;

    /**
     * 用户ID，外键
     */
    private Integer userId;

    /**
     * 充值金额
     */
    private BigDecimal amount;

    /**
     * 充值时间
     */
    private Date rechargeTime;

    /**
     * 支付方式：银行卡、支付宝、微信
     */
    private Object paymentMethod;

}